package com.asp.aspchain;

import org.apache.log4j.Logger;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author
 * @created 2018-04-17 10:13
 **/
//@SpringBootApplication(scanBasePackages = "com.asp.aspchain")

@SpringBootApplication
@EnableRedisRepositories
@EnableTransactionManagement
@MapperScan(basePackages = {"com.asp.aspchain.asset.dao","com.asp.aspchain.core.dao"})
public class AssetApplication {
    public static void main(String[] args) {
        SpringApplication.run(AssetApplication.class, args);
        Logger.getLogger(AssetApplication.class).info("AssetApplication===================start");
    }
}
